package bdsantheotg.backing;

import common.Utils;

import java.text.SimpleDateFormat;

import java.util.Calendar;
import java.util.Date;

import java.util.GregorianCalendar;

import javax.faces.event.ValueChangeEvent;

import oracle.adf.model.binding.DCIteratorBinding;

import oracle.jbo.ViewCriteria;
import oracle.jbo.ViewObject;

public class bdsantheotgBean {
    private String sanid;
    private String thoigian;

    public bdsantheotgBean() {
        super();
    }
    
    public void setSanid(String sanid) {
        this.sanid = sanid;
    }

    public String getSanid() {
        DCIteratorBinding iterSanck =
            Utils.getIteratorBinding("DmSanCkView1Iterator");
        sanid = iterSanck.getCurrentRow().getAttribute("Id").toString();
        return sanid;
    }

    public void setThoigian(String thoigian) {
        this.thoigian = thoigian;
    }

    public String getThoigian() {
        return thoigian;
    }
}
